RepliComment: Identifying clones in code comments

نویسندگان

چکیده

Code comments are the primary means to document implementation and facilitate program comprehension. Thus, their quality should be a concern improve maintenance. While much effort has been dedicated detecting bad smells, such as clones in code, little work focused on comments. In this paper we present our solution detect that developers fix. RepliComment can automatically analyze Java projects report instances of copy-and-paste errors comments, point which fixed. Moreover, it when signs poorly written Developers fix these too order code documentation. Our evaluation 10 well-known open source identified over 11K comment clones, 1,300 them potentially critical. We own previous Blasi Gorla (2018), could only find 36 issues same dataset. manual inspection 412 reported by reveals achieves precision 79% reporting critical clones. The 200 additional filters out being legitimate, not evince any false negative.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Active Clones: Source Code Clones at Runtime

Code cloning is a common programming practice, and there have been a considerable amount of research that investigated the implications of code clones on software maintenance using static analysis. However, little has been done to investigate the runtime implications of code cloning. In this paper we investigate source code clones at runtime, referring to clones as ‘active clones’ if they are i...

متن کامل

Evolving Code Clones

The goal of this project plan is to give an short overview of the topic that lies beneath the diploma thesis. It describes the main tasks and outcomes that should be achieved during this thesis. Since time management is an essential part of writing a diploma thesis, this plan also serves a guideline helping not to loose control over the allocated time. The thesis consists of 5 tasks (See [1] fo...

متن کامل

Code Clones: Reconsidering Terminology

This report discusses terminology choices and considerations relating to copied or redundant code within software systems, i.e., relating to “code clones.” Inadequacies of existing terminology are raised and alternative terms are discussed.

متن کامل

Detecting Code Clones: A review

Code clone detection is involved with detecting duplicated fragments of code within a code base. Detecting these clones is useful for maintenance operations which require editing the clones. The tools developed are expected to be robust enough to identify clones even when they have been modified, whilst preserving reasonable recall and precision rates. It is also expected that these tools be ea...

متن کامل

Removing clones from the code

In this paper we discus the elimination of function and class clones from industrial object-oriented code. Clone removal can decrease code size and facilitate maintenance. We eliminate clones by reengineering scenarios that are based on automated restructuring tools. The paper presents examples of clones, reengineering scenarios, and restructuring tools. The usefulness of the approach is demons...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Journal of Systems and Software

سال: 2021

ISSN: ['0164-1212', '1873-1228']

DOI: https://doi.org/10.1016/j.jss.2021.111069